﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nonocast.Data;

namespace Run {
	class Program {
		static void Main(string[] args) {
			Objects.Instance.Open();

			var user = Objects.Instance.Create<User>();
			user.Name = "nonocast";
			user.Save();

			Console.WriteLine("press any key to exit.");
			Console.ReadLine();
			Objects.Instance.Close();
		}
	}

	public class User : BusinessObject {
		public string Name { get; set; }
	}
}
